name: code
run_id: commands[1]
env HOME: /home/jenkins
env LANG: C.UTF-8
env PATH: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/bin:/opt/pyenv/bin:/tmp/venv-ijq0/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin
env PIP_DISABLE_PIP_VERSION_CHECK: 1
env PYTHONHASHSEED: 2459644866
env PYTHONIOENCODING: utf-8
env SSH_AGENT_PID: 1666
env SSH_AUTH_SOCK: ********************************
env TOX_ENV_DIR: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code
env TOX_ENV_NAME: code
env TOX_WORK_DIR: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox
env VIRTUAL_ENV: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code
env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true
env cd: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/test
metadata pid: 2526
cwd: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube
allow: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/bin/*
cmd: pytest --cov /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=10 --junitxml=/tmp/tests.xml
exit_code: 0
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-8.4.2, pluggy-1.6.0
cachedir: .tox/code/.pytest_cache
rootdir: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube
plugins: cov-7.0.0
collected 63 items

test/test_kfadapter_conf.py ........                                     [ 12%]
test/test_kfadapter_kfconnect.py ...............                         [ 36%]
test/test_kfadapter_main.py ............................                 [ 80%]
test/test_kfadapter_util.py ..........                                   [ 96%]
test/test_tmgr_logger.py ..                                              [100%]

=============================== warnings summary ===============================
.tox/code/lib/python3.10/site-packages/flask_api/renderers.py:5
  /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask_api/renderers.py:5: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3.
    from flask.globals import _request_ctx_stack

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------------------- generated xml file: /tmp/tests.xml ----------------------
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.10.6-final-0 ________________

Name                               Stmts   Miss  Cover   Missing
----------------------------------------------------------------
kfadapter/__init__.py                  0      0   100%
kfadapter/kfadapter_conf.py           47      2    96%   63, 91
kfadapter/kfadapter_kfconnect.py      93     24    74%   58, 117-118, 157-164, 196, 215-225, 282-283, 293, 296
kfadapter/kfadapter_main.py          269     32    88%   390-401, 414-415, 421, 495-498, 514-530
kfadapter/kfadapter_util.py           84     39    54%   65, 106-143, 171-173
kfadapter/tmgr_logger.py              21      3    86%   46-48
----------------------------------------------------------------
TOTAL                                514    100    81%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
Required test coverage of 10% reached. Total coverage: 80.54%
======================== 63 passed, 1 warning in 3.05s =========================
